Assessment Functions - Used in Script Assessment
The TPT Assessment script language is an extension of the scripting language Python. You can use the following language modules and types as an extension to Python in script assesslets for the assessment of TPT test cases.
Assessment Modules
The following section summarizes all modules of the TPT assessment language.
A module provides a number of functions and constants that can be accessed in a "static" way.
In other words, a module can be considered as a separate name space. All functions and constants can be accessed using the module name as a prefix.
There are several modules, thematically sorted:
- Assessment Module 'TPT'
- Assessment Module 'TPTReport'
- Assessment Module 'REQUIREMENTS'
- Assessment Module 'MATLAB'
- Assessment Module 'TPTNumpy'
- Assessment Module '__thisassesslet__'
Assessment Types
The following section summarizes all types of the TPT assessment language.
A type can have zero, one or more instances (variables) that can be created at runtime. In general, the assessment modules provide functions to create instances of assessment types.
The available assessment types are:
- Assessment Type 'function'
- Assessment Type 'interval'
- Assessment Type 'minmax'
- Assessment Type 'record'
- Assessment Type 'regexp'
- Assessment Type 'report_conditiontree'
- Assessment Type 'report_element'
- Assessment Type 'report_image'
- Assessment Type 'report_link'
- Assessment Type 'report_metainformationtable'
- Assessment Type 'report_paragraph'
- Assessment Type 'report_scatter'
- Assessment Type 'report_section'
- Assessment Type 'report_sequencegraphic'
- Assessment Type 'report_signalfilter'
- Assessment Type 'report_signalgraphic'
- Assessment Type 'report_signalgraphic_comparison'
- Assessment Type 'report_signalgraphic_minmax'
- Assessment Type 'report_signaltable'
- Assessment Type 'report_signaltracetable'
- Assessment Type 'report_sortmodel'
- Assessment Type 'report_table'
- Assessment Type 'requirement'
- Assessment Type 'signal'
- Assessment Type 'signalcomparison'
- Assessment Type 'testcase'
- Assessment Type 'time'
- Assessment Type 'tptnumpy_array'
- Assessment Type 'tptnumpy_linalg'